package com.daervin.common.code;

/**
 * Created by daervin on 2021/4/1
 */
public enum CodeEnum {
    SUCCESS(0, "success"),
    PAR_ERROR(1000, "参数错误"),
    SYSTEM_ERROR(1001, "系统错误"),
    REPEATED(1002, "重复提交"),
    ;

    CodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer code;
    public String msg;
}
